﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace eBook.Services
{

  public class OpenLibraryResponse
  {
    public List<Publisher> publishers { get; set; }
    public Identifiers identifiers { get; set; }
    public List<TableOfContent> table_of_contents { get; set; }
    public Classifications classifications { get; set; }

    public string weight { get; set; }
    public string title { get; set; }
    public string url { get; set; }
    public int number_of_pages { get; set; }
    public Cover cover { get; set; }
    public List<Subject> subjects { get; set; }
    public string publish_date { get; set; }
    public string key { get; set; }
    public List<Author> authors { get; set; }
    public string subtitle { get; set; }
  }

  public class Classifications
  {
    public List<string> dewey_decimal_class { get; set; }
    public List<string> lc_classifications { get; set; }
  }

  public class Publisher
  {
    public string name { get; set; }
  }

  public class Identifiers
  {
    public List<string> isbn_10 { get; set; }
    public List<string> isbn_13 { get; set; }
    public List<string> openlibrary { get; set; }
    public List<string> lcnn { get; set; }
    public List<string> librarything { get; set; }
    public List<string> project_gutenberg { get; set; }
    public List<string> goodreads { get; set; }
  }

  public class TableOfContent
  {
    public string title { get; set; }
    public string label { get; set; }
    public string pagenum { get; set; }
    public int level { get; set; }
  }

  public class Cover
  {
    public string small { get; set; }
    public string large { get; set; }
    public string medium { get; set; }
  }

  public class Subject
  {
    public string url { get; set; }
    public string name { get; set; }
  }

  public class Author
  {
    public string url { get; set; }
    public string name { get; set; }
  }








}
